﻿<%@ WebHandler Language="C#" Class="get_msg" %>

using System.Web;

public class get_msg : IHttpHandler
{
    public void ProcessRequest(HttpContext context)
    {
        context.Response.ContentType = "text/plain";
        context.Response.Write("[]");
        //context.Response.Write("[{\"from_id\":\"1\",\"from_name\":\"liran\",\"content\":\"测试\",\"send_time\":\"2012-7-5\",\"from_type_name\":\"通知公告\",\"type_name\":\"通知公告\",\"url\":\"http://baidu.com\",\"avatar\":\"\",\"sms_id\":\"2\",\"receive\":\"1\"}]"); 
    }

    public bool IsReusable
    {
        get { return false; }
    }
}